﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Text;
using System.Threading.Tasks;

namespace Model
{

    [DataContract]
    [MB.Orm.Mapping.Att.ModelMap("DCwarehouse", "DCwarehouse", new string[] { "WAREHOUSEID" })]
    [KnownType(typeof(DCwarehouse))]
    public class DCwarehouse : MB.Orm.Common.BaseModel
    {
        public DCwarehouse()
        {

        }
        private int _WAREHOUSEID;
        [DataMember]
        [MB.Orm.Mapping.Att.ColumnMap("WAREHOUSEID", System.Data.DbType.Int32)]
        public int WAREHOUSEID
        {
            get { return _WAREHOUSEID; }
            set { _WAREHOUSEID = value; }
        }
        private string _WAREHOUSECODE;
        [DataMember]
        [MB.Orm.Mapping.Att.ColumnMap("WAREHOUSECODE", System.Data.DbType.String)]
        public string WAREHOUSECODE
        {
            get { return _WAREHOUSECODE; }
            set { _WAREHOUSECODE = value; }
        }
        private string _WAREHOUSENAME;
        [DataMember]
        [MB.Orm.Mapping.Att.ColumnMap("WAREHOUSENAME", System.Data.DbType.String)]
        public string WAREHOUSENAME
        {
            get { return _WAREHOUSENAME; }
            set { _WAREHOUSENAME = value; }
        }

        private string _WAREHOUSEPROVINCE;
        [DataMember]
        [MB.Orm.Mapping.Att.ColumnMap("WAREHOUSEPROVINCE", System.Data.DbType.String)]
        public string WAREHOUSEPROVINCE
        {
            get { return _WAREHOUSEPROVINCE; }
            set { _WAREHOUSEPROVINCE = value; }
        }

        private string _WAREHOUSECITY;
        [DataMember]
        [MB.Orm.Mapping.Att.ColumnMap("WAREHOUSECITY", System.Data.DbType.String)]
        public string WAREHOUSECITY
        {
            get { return _WAREHOUSECITY; }
            set { _WAREHOUSECITY = value; }
        }

        private string _WAREHOUSEDISTRICT;
        [DataMember]
        [MB.Orm.Mapping.Att.ColumnMap("WAREHOUSEDISTRICT", System.Data.DbType.String)]
        public string WAREHOUSEDISTRICT
        {
            get { return _WAREHOUSEDISTRICT; }
            set { _WAREHOUSEDISTRICT = value; }
        }

        private string _WAREHOUSEADDRESS;
        [DataMember]
        [MB.Orm.Mapping.Att.ColumnMap("WAREHOUSEADDRESS", System.Data.DbType.String)]
        public string WAREHOUSEADDRESS
        {
            get { return _WAREHOUSEADDRESS; }
            set { _WAREHOUSEADDRESS = value; }
        }

        private string _STATUS;
        [DataMember]
        [MB.Orm.Mapping.Att.ColumnMap("STATUS", System.Data.DbType.String)]
           public string STATUS
        {
            get { return _STATUS; }
            set { _STATUS = value; }
        }


        private string _OPRNO;
        [DataMember]
        [MB.Orm.Mapping.Att.ColumnMap("OPRNO", System.Data.DbType.String)]
        public string OPRNO
        {
            get { return _OPRNO; }
            set { _OPRNO = value; }
        }
        private DateTime _CREATEDATE;
        [DataMember]
        [MB.Orm.Mapping.Att.ColumnMap("CREATEDATE", System.Data.DbType.DateTime)]
        public DateTime CREATEDATE
        {
            get { return _CREATEDATE; }
            set { _CREATEDATE = value; }
        }


    }
}
